var n = require("../../utils/language/switchLanguage.js");
Page({
  data: { redirectPage: "" },
  onLoad: function (n) {
    this.setData({ redirectPage: n.page }), this.initLanguage();
  },
  initLanguage: function () {
    var e = n.languageVersion(wx.getStorageSync("language"));
    this.setData({ _t: e, languageType: wx.getStorageSync("language") });
  },
  onReady: function () {},
  toPage: function () {
    wx.navigateTo({
      url: "/pages/mine-index/login/index?redirectUrl=".concat(
        encodeURIComponent(this.data.redirectPage),
        "&type=4",
      ),
    });
  },
  onShow: function () {},
  onHide: function () {},
  onUnload: function () {},
  onPullDownRefresh: function () {},
  onReachBottom: function () {},
});
